package com.turing.post.cardmanagement.util;

import java.io.Serializable;
import java.math.BigInteger;
import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * 临时领卡\缴回单（SalesGetCardOrder）
 * 
 * @author kangzhe
 * 
 */
@SuppressWarnings("serial")
@Entity
@Table(name = "SalesGetCardOrder")
public class SalesGetCardOrder implements Serializable {

	/**
	 * 领回:0
	 */
	public final static String SalesGetCardOrder_Type_0 = "0";
	/**
	 * 缴回:0
	 */
	public final static String SalesGetCardOrder_Type_1 = "1";

	/**
	 * 主键ID
	 */
	private BigInteger salesGetCardOrderId;

	@Id
	@Column(name = "SALESGETCARDORDERID", nullable = false)
	public BigInteger getSalesGetCardOrderId() {
		return salesGetCardOrderId;
	}

	public void setSalesGetCardOrderId(BigInteger salesGetCardOrderId) {
		this.salesGetCardOrderId = salesGetCardOrderId;
	}

	/**
	 * 单号
	 */
	private String salesGetCardOrderNo;

	@Column(name = "SALESGETCARDORDERNO", nullable = false)
	public String getSalesGetCardOrderNo() {
		return salesGetCardOrderNo;
	}

	public void setSalesGetCardOrderNo(String salesGetCardOrderNo) {
		this.salesGetCardOrderNo = salesGetCardOrderNo;
	}

	/**
	 * 销售机构
	 */
	private String saleBranchNo;

	@Column(name = "SALEBRANCHNO", nullable = false)
	public String getSaleBranchNo() {
		return saleBranchNo;
	}

	public void setSaleBranchNo(String saleBranchNo) {
		this.saleBranchNo = saleBranchNo;
	}

	private Date tranTime;

	@Column(name = "TRANTIME", nullable = false)
	public Date getTranTime() {
		return tranTime;
	}

	public void setTranTime(Date tranTime) {
		this.tranTime = tranTime;
	}

	/**
	 * 日期
	 */
	private Date tranDate;

	@Column(name = "TRANDATE", nullable = false)
	public Date getTranDate() {
		return tranDate;
	}

	public void setTranDate(Date tranDate) {
		this.tranDate = tranDate;
	}

	/**
	 * 交易类型
	 */
	private String orderType;

	@Column(name = "ORDERTYPE", nullable = false)
	public String getOrderType() {
		return orderType;
	}

	public void setOrderType(String orderType) {
		this.orderType = orderType;
	}

	/**
	 * 操作员
	 */
	private BigInteger operId;

	@Column(name = "OPERID", nullable = false)
	public BigInteger getOperId() {
		return operId;
	}

	public void setOperId(BigInteger operId) {
		this.operId = operId;
	}

	/**
	 * 经办人姓名
	 */
	private String name;

	@Column(name = "NAME", nullable = false)
	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	/**
	 * 经办人电话
	 */
	private String tel;

	@Column(name = "TEL", nullable = true)
	public String getTel() {
		return tel;
	}

	public void setTel(String tel) {
		this.tel = tel;
	}

	/**
	 * 备注
	 */
	private String remark;

	@Column(name = "REMARK", nullable = true)
	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}
}
